/**
 * @Package: 	com.group.JavaBean 
 * @author: 	Liu  
 * @date: 		Dec 27, 2018 8:15:33 AM 
 */
package com.group.JavaBean;

import java.util.List;

import com.group.DAO.GGroupDAO;

/**
 * @ClassName:	 GGroup.java
 * @Description: 小组类
 * @author:		 Liu
 * @date: 		 Dec 27, 2018 8:15:33 AM 
 */
public class GGroup {
	// @Fields groupID : 小组号
	int groupID;
	// @Fields groupName : 小组名
	String groupName;
	// @Fields student : 成员列表
	List<GStudent> studentList;
	
	/**
	 * @Function: 	 GGroup.java
	 * @Description: 获取小组及其成员信息
	 * @param:		   参数
	 * @return:		   小组及其成员信息列表
	 * @author: 	 Liu
	 * @date:		 Dec 28, 2018 8:57:44 PM 
	 */
	public List<GGroup> getGGroupinfo() {
		GGroupDAO dao = new GGroupDAO();
		return dao.getGGroupinfo();
	}
	
	
	
	
	public GGroup() {};
	public GGroup(int groupID, String groupName) {
		this.groupID = groupID;
		this.groupName = groupName;
	}
	public int getGroupID() {
		return groupID;
	}
	public void setGroupID(int groupID) {
		this.groupID = groupID;
	}
	public String getGroupName() {
		return groupName;
	}
	public void setGroupName(String groupName) {
		this.groupName = groupName;
	}
	public List<GStudent> getStudentList() {
		return studentList;
	}
	public void setStudentList(List<GStudent> studentList) {
		this.studentList = studentList;
	}
}
